<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
/*.hezi{*/
/*  width: 50px;*/
/*  height: 50px;*/
/*   background-color: blue;*/
/*  border: 30px solid red;*/
/*}*/

   #d1{
       width: 200px;
       height: 200px;
       background-color: red;
       overflow: hidden;

   }

#d1>div{
    width: 100px;
    height: 100px;
    background-color: blue;
    margin-left: 50px;
    margin-top: 50px;

}

/*.halou{*/
/*  width: 40px;*/
/*  height: 20px;*/
/*  border: 5px solid green;*/
/*  border-radius: 4px;*/
/*  margin-left:110px;*/
/*  padding: 68px 0px 15px 65px;*/


/*}
 */

#d2{
    /*width: 51px;*/
    /*height: 91px;*/
    /*border: 5px solid green;*/
    /*margin-left: 200px;*/
    /*padding-left: 150px;*/
    /*padding-top: 100px;*/

    width: 200px;
    height: 200px;
    margin-left: 200px;
    padding-left: 131px;
    padding-top: 138px;
    border: 5px solid green;
    border-radius: 4px;
    /* 改变盒子模型的计算方式 */
    box-sizing: border-box;
}


  </style>
</head>
<body>

<div id="d1">
  <div></div>
</div>
<div id="d2">哈喽</div>
</body>
</html>